<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../node_modules/normalize.css/normalize.css">
    <title>Title</title>
    <style>
        li {
            list-style: none;
        }
        html {
            width: 100%; height: 100%;
        }

        body {
            width: 100%;
            text-align: left;
            background: #e9dfc7;
        }

        .m-read-con {
            font-size: 14px;
            color: #555;
            line-height: 31px;
            padding: 15px;

        }

        .m-read-con p {
            text-indent: 2em;
            margin: 0.5em 0;
            line-height: 24px;
        }

        .m-read-con h4 {
            margin: 0 0 1em 0;
            font-size: 20px;
            color: #736357;
            border-bottom: 1px solid #736357;
            letter-spacing: 2px;
        }
        .u-tab {
            height: 34px;
            margin: 0 auto;
            line-height: 34px;
            border-radius: 8px;
            border: 1px solid #858382;
            font-size: 12px;
            background: #000;
            opacity: 0.9;
            padding: 0;
        }

        .m-button {
            width: 70%;
            max-width: 800px;
            text-align: center;
            padding: 5px;
            margin: 0 auto 30px;

        }
        .u-tab li {
            display: inline-block;
            width: 49%;
            border-right: 1px solid #858382;
            text-align: center;
            color: #FFF;
        }

        .u-tab li:last-child {
            border: none;
        }

        .top-nav {
            position: fixed;
            height: 50px;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 999;
            background: #000;
        }

        .icon-back {
            position: absolute;
            width: 23px;
            height: 23px;
            top: 14px;
            left: 10px;
            background: url("");
            background-size: contain;
        }

        .nav-title {
            position: absolute;
            top: 16px;
            left: 42px;
            color: #d5d5d6;
        }

        .bottom-nav {
            position: fixed;
            left: 0;
            bottom: 0;
            z-index: 999;
            width: 100%;
            height: 70px;
            background: #000;
            opacity: 0.9;
            text-align: center;
        }

        .list-nav {
            margin: 0;
            padding: 0;
        }

        .bottom-nav li {
            display: inline-block;
            width: 32%;
            color: #fff;
            text-align: center;
            margin: 0 auto;
        }

        .item-warp {
            width: 26px;
            margin: 0 auto;
            position: relative;
            font-size: 10px;
        }

        .icon-menu {
            position: absolute;
            top: 3px;
            left: 2px;
            width: 18px;
            height: 13px;
            background-size: contain;
        }

        .icon-txt {
            position: absolute;
            top: 25px;
            font-size: 10px;
        }

        .menu-dir .icon-menu {
            background: url("");
            background-size: contain;
        }

        .menu-font .icon-menu {
            width: 20px;
            height: 13px;
            background: url("");
            background-size: contain;
        }

        .menu-night .icon-menu {
            width: 16px;
            height: 16px;
            background: url("");
            background-size: contain;
        }

        .menu-font-hover .icon-menu {
            background: url(" ");
            background-size: contain;
        }

        .menu-night-hover .icon-menu {
            background: url("");
            background-size: contain;
        }

        .nav-pannel-bg {
            position: fixed;
            bottom: 70px;
            height: 135px;
            width: 100%;
            background: #000;
            opacity: 0.9;
            z-index: 1000;
        }

        .nav-pannel {
            position: fixed;
            bottom: 70px;
            height: 135px;
            width: 100%;
            background: none;
            z-index: 10001;
            color: #FFF;
        }

        .child-mod {
            padding: 5px 10px;
            margin: 15px;
        }

        .child-mod span {
            display: inline-block;
            padding: 0 20px 10px 0;
        }

        .font-size-btn {
            border-radius: 16px;
            border: 1px solid #8c8c8c;
            background: none;
            color: #FFF;
            padding: 5px 40px;
            margin-left: 15px;
            outline: none;
        }

        .bg-container {
            position: relative;
            width: 30px;
            height: 30px;
            border-radius: 15px;
            display: inline-block;
            margin-right: 10px;
            vertical-align: -10px;
        }

        .bg-container-cur {
            position: absolute;
            width: 32px;
            height: 32px;
            left: -2px;
            top: -2px;
            border-radius: 16px;
            border: 1px solid #FF7800;
            display: none;
        }

        .artical-active-mid {
            position: fixed;
            -webkit-tap-highlight-color:rgba(0,0,0,0);
            z-index: 1002;
            width: 100%;
            height: 40%;
            top: 30%;
        }

        .bg-dft {
            background: #f7eee5;
        }

        .bg-orange {
            background: #e9dfc7;
        }

        .bg-gray {
            background: #a4a4a4;
        }

        .bg-green {
            background: #cdefce;
        }

        .bg-black {
            background: #283548;
        }

        .dir-list {
            position: fixed;
            width: 100%;
            height: 100%;
            left: -110%;
            top: 0;
            z-index: 1005;
            overflow: auto;
            background: #FFF;
            color: #000;
            padding: 1em;
            transition: left 0.5s ease-in-out;
            -webkit-transition: left 0.5s ease-in-out;
        }

        .dir-fadeIn {
          display: block;
           left: 0;
        }

        .dir-fadeOut {
          left: -110%;
        }
        .dir-list .title {
            color: #F60;
        }

        .dir-list p {
            text-indent: 2em;
        }
        .dir-list a {
            color: #666;
            text-decoration: none;
        }
    </style>
</head>
<body>


<!--主容器-->
<div id="root" class="container">
    <div class="m-artical">
        <div class="artical-active-mid" id="active_mid"></div>
    </div>
    <!--顶部菜单-->
    <div id="top-nav" class="top-nav" style="display: none;">
        <div class="icon-back"></div>
        <div class="nav-title">返回书架</div>
    </div>
    <!--章节表是-->
    <div id="fition-chapter-title"></div>
    <!--章节内容-->
    <div id="fition-container" class="m-read-con"><!--章节内容容器--></div>
    <div class="m-button">
        <ul class="u-tab">
            <li id="prev_btn">上一章</li>
            <li id="next_btn">下一章</li>
        </ul>
    </div>
    <!--底部菜单-->
    <div style="display: none;" class="bottom-nav">
        <ul class="list-nav">
            <li>
                <div class="item-warp menu-dir" id="menu_dir">
                    <div class="icon-menu"></div>
                    <div class="icon-txt">目录</div>
                </div>
            </li>
            <li>
                <div class="item-warp menu-font" id="menu_font">
                    <div class="icon-menu"></div>
                    <div class="icon-txt">字体</div>
                </div>
            </li>
            <li>
                <div class="item-warp menu-night" id="menu_night">
                    <div class="icon-menu"></div>
                    <div class="icon-txt">夜间</div>
                </div>
            </li>
        </ul>
    </div>
    <!--底部控制面板背景-->
    <div style="display: none;" class="nav-pannel-bg pannel_nav"></div>
    <!--底部控制面板-->
    <div style="display: none;" class="nav-pannel pannel_nav" id="font-container">
        <div class="child-mod">
            <span>字号</span>
            <button id="large-font" class="font-size-btn">大</button>
            <button id="small-font" class="font-size-btn">小</button>
        </div>
        <div class="child-mod">
            <span>背景</span>
            <div class="bg-container bg-dft" id="bg_dft">
                <div class="bg-container-cur" style="display: block"></div>
            </div>
            <div class="bg-container bg-orange" id="bg_orange">
                <div class="bg-container-cur"></div>
            </div>
            <div class="bg-container bg-gray" id="bg_gray">
                <div class="bg-container-cur"></div>
            </div>
            <div class="bg-container bg-green" id="bg_green">
                <div class="bg-container-cur"></div>
            </div>
            <div class="bg-container bg-black" id="bg_black">
                <div class="bg-container-cur"></div>
            </div>
        </div>
    </div>
    <!--asdf-->
    <!--目录层-->
    <div class="dir-list" id="dir_list">
        <div class="title">目录</div>
    </div>
</div>
<script src="../node_modules/zepto/dist/zepto.min.js"></script>
<script>
    window.jQuery = $;
</script>
<script src="../lib/jquery.base64.js"></script>
<script src="../lib/jquery.jsonp.js"></script>
<script src="../lib/index.js"></script>

</body>
</html>
